package com.hex.ds.hdrs.period.task.dao;

import com.hex.bigdata.hbda.base.BaseDao;
import com.hex.ds.hdrs.period.task.po.PeriodTaskHis;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public class PeriodTaskHisDao extends BaseDao {

    public void add(Map map) {
        this.insert("com.hex.ds.hdrs.period.task.dao.PeriodTaskHisDao.insert", map);
    }

    public List<PeriodTaskHis> selectListByBitchId(Map map){
        return this.selectList(PeriodTaskHis.class,"com.hex.ds.hdrs.period.task.dao.PeriodTaskHisDao.selectListByBitchId",map);
    }

    public void delByBitchId(Map map){
        this.delete("com.hex.ds.hdrs.period.task.dao.PeriodTaskHisDao.delByBitchId",map);
    }
}